package com.gopay.common.domain.cbrmb.internationalcard.masapay;

import java.io.Serializable;

public class MasaPayEnrolmentCheckDTOResp implements Serializable{
	/**
	 * @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么)
	 */
	private static final long serialVersionUID = 1L;
	// 基本参数
	private String version = "1.0";
	private String charset = "utf-8";
	private String language = "cn";
	private String signType = "SHA256";
	private String errCode;
	private String errMsg;
	// 业务参数
	private String merchantOrderNo;
	private String enrolmentOrderNo;
	private String enrolled;
	private String acsUrl;
	private String paReq;
	private String ext1;
	private String ext2;
	private String remark;
	private String resultCode;
	private String signMsg;

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getCharset() {
		return charset;
	}

	public void setCharset(String charset) {
		this.charset = charset;
	}

	public String getLanguage() {
		return language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	public String getSignType() {
		return signType;
	}

	public void setSignType(String signType) {
		this.signType = signType;
	}

	public String getErrCode() {
		return errCode;
	}

	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}

	public String getErrMsg() {
		return errMsg;
	}

	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}

	public String getMerchantOrderNo() {
		return merchantOrderNo;
	}

	public void setMerchantOrderNo(String merchantOrderNo) {
		this.merchantOrderNo = merchantOrderNo;
	}

	public String getEnrolmentOrderNo() {
		return enrolmentOrderNo;
	}

	public void setEnrolmentOrderNo(String enrolmentOrderNo) {
		this.enrolmentOrderNo = enrolmentOrderNo;
	}

	public String getEnrolled() {
		return enrolled;
	}

	public void setEnrolled(String enrolled) {
		this.enrolled = enrolled;
	}

	public String getAcsUrl() {
		return acsUrl;
	}

	public void setAcsUrl(String acsUrl) {
		this.acsUrl = acsUrl;
	}

	public String getPaReq() {
		return paReq;
	}

	public void setPaReq(String paReq) {
		this.paReq = paReq;
	}

	public String getExt1() {
		return ext1;
	}

	public void setExt1(String ext1) {
		this.ext1 = ext1;
	}

	public String getExt2() {
		return ext2;
	}

	public void setExt2(String ext2) {
		this.ext2 = ext2;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getResultCode() {
		return resultCode;
	}

	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}

	public String getSignMsg() {
		return signMsg;
	}

	public void setSignMsg(String signMsg) {
		this.signMsg = signMsg;
	}

	@Override
	public String toString() {
		return "MasaPayEnrolmentCheckDTOResp [version=" + version + ", charset=" + charset + ", language=" + language
				+ ", signType=" + signType + ", errCode=" + errCode + ", errMsg=" + errMsg + ", merchantOrderNo="
				+ merchantOrderNo + ", enrolmentOrderNo=" + enrolmentOrderNo + ", enrolled=" + enrolled + ", acsUrl="
				+ acsUrl + ", paReq=" + paReq + ", ext1=" + ext1 + ", ext2=" + ext2 + ", remark=" + remark
				+ ", resultCode=" + resultCode + ", signMsg=" + signMsg + "]";
	}

	public String signatureData(String key) {
		return "signType=" + signType + "&merchantOrderNo=" + merchantOrderNo + "&enrolmentOrderNo=" + enrolmentOrderNo
				+ "&enrolled=" + enrolled + "&acsUrl=" + acsUrl + "&paReq=" + paReq + "&resultCode=" + resultCode
				+ "&key=" + key;
	}
}
